package com.linkallcloud.core.www;

import java.util.List;

import com.linkallcloud.core.dto.Sid;

public interface ISessionBUser extends ISessionCUser {
	
    boolean isAdmin();
    void setAdmin(boolean admin);

    Long companyId();
    String companyUuid();
    String companyName();
    Sid getCompany();
    
    Long orgId();
    String orgUuid();
    String orgName();
    Sid getOrg();
    
    Long areaId();
    String areaUuid();
    String areaCode();
    String areaName();
    Sid getArea();
    int getAreaLevel();
    
    List<Sid> getMyOrgs();
    
    String getLoginWay();
    void setLoginWay(String way);

}
